﻿@model List<Topic>

<div class="panel panel-default topics">
    <div class="panel-heading">
        <h3 class="panel-title">主题排行</h3>
    </div>
    <div class="list-group">
        @foreach (var item in Model)
            {
            <a asp-controller="Topic" asp-action="Details" asp-route-id="@item.Id" class="list-group-item">
                @item.Title
            </a>
        }
    </div>
</div>